package cn.krui.project.bean.article;

import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/6/11 16:41:49
 * 分离出查询实体
 */
@ApiModel(value = "qr_article_class_ex", description = "栏目扩展")
@TableName(value = "qr_article_class_ex")
public class ArticleClassExView {
	@ApiModelProperty(value = "栏目id")
	@TableId(type = IdType.INPUT,value = "class_id")
	@NotNull(message = "栏目id不能为空")
	private Integer class_id;
	@ApiModelProperty(value = "评论设置:允许游客评价=1 登录后评论=2 不允许评论=3")
	@TableField(value="comment_control")
	private Integer comment_control;
	@ApiModelProperty(value = "浏览设置:都不需要登录=1 仅内容页需要登录=2 都需要登录=3")
	@TableField(value="view_control")
	private Integer view_control;
	@ApiModelProperty(value = "工作流")
	@TableField(value="wf_id")
	private Integer wf_id;
	@ApiModelProperty(value = "栏目图片")
	@TableField(value="icon")
	private String icon;
	@ApiModelProperty(value = "栏目描述")
	@TableField(value="description")
	private String description;
	@ApiModelProperty(value = "外部链接")
	@TableField(value="link")
	private String link;
	@ApiModelProperty(value = "打开方式:新窗口打开=1")
	@TableField(value="target")
	private Integer target;
	@ApiModelProperty(value = "页行数")
	@TableField(value="page_size")
	private Integer page_size;
	@ApiModelProperty(value = "是否分页:是=1 否=0")
	@TableField(value="list_channel")
	private Integer list_channel;
	@ApiModelProperty(value = "数据版本字段")
	@TableField(value="version_id")
	@Version
	private Integer version_id;

 
	public Integer getClass_id() {
		return class_id;
	}
	public void setClass_id(Integer class_id) {
		this.class_id = class_id;
	}
 
	public Integer getComment_control() {
		return comment_control;
	}
	public void setComment_control(Integer comment_control) {
		this.comment_control = comment_control;
	}
 
	public Integer getView_control() {
		return view_control;
	}
	public void setView_control(Integer view_control) {
		this.view_control = view_control;
	}
 
	public Integer getWf_id() {
		return wf_id;
	}
	public void setWf_id(Integer wf_id) {
		this.wf_id = wf_id;
	}
 
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
 
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
 
	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
 
	public Integer getTarget() {
		return target;
	}
	public void setTarget(Integer target) {
		this.target = target;
	}
 
	public Integer getPage_size() {
		return page_size;
	}
	public void setPage_size(Integer page_size) {
		this.page_size = page_size;
	}
 
	public Integer getList_channel() {
		return list_channel;
	}
	public void setList_channel(Integer list_channel) {
		this.list_channel = list_channel;
	}
 
	public Integer getVersion_id() {
		return version_id;
	}
	public void setVersion_id(Integer version_id) {
		this.version_id = version_id;
	}

}